{template 'web/common/common'}
{template 'web/vet/navbar'}
<link rel="stylesheet" type="text/css" href="../addons/kundian_farm/resource/css/style.css" />
<div class="panel panel-success">
    <div class="panel-heading">
        <h3 class="panel-title">
            团队设置
        </h3>
    </div>
    <div class="panel-body">
        <form id="sign-form" class="form-horizontal" role="form" method="post" action="{url 'site/entry/vet',array('m'=>'kundian_farm','op'=>'vet_set_save','version_id'=>$_GPC['version_id'])}" name="submit" style="padding: 20px 0;">
            <div class="form-group">
                <label class="col-sm-2 control-label">是否开启团队展示版块</label>
                <div class="col-sm-8">
                    {if $nowList['is_open_vet']==1}
                    <input type="checkbox" checked class="js-switch" value="1" name="is_open_vet">
                    {else}
                    <input type="checkbox" class="js-switch" name="is_open_vet" value="1">
                    {/if}
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">首页显示图标(40*40)</label>
                <div class="col-sm-8">
                   {php echo tpl_form_field_image('vet_icon',$nowList['vet_icon']);}
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label">首页显示标题</label>
                <div class="col-sm-8">
                    <input type="text" class="form-control"  name="vet_title" value="{$nowList['vet_title']}">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">首页显示标题(英文)</label>
                <div class="col-sm-8">
                    <input type="text" class="form-control"  name="vet_english_title" value="{$nowList['vet_english_title']}">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">团队页面顶部Banner(375*190)</label>
                <div class="col-sm-8">
                    {php echo tpl_form_field_image('vet_banner',$nowList['vet_banner']);}
                </div>
            </div>
            
            <div class="form-group">

                <div class="col-sm-offset-2 col-sm-10">
                    <button type="submit" class="btn btn-success">保存</button>
                </div>
            </div>
        </form>
    </div>
</div>
